﻿using FinanceAPI.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace FinanceAPI.Model
{
    /// <summary>
    /// 凭证设置表
    /// </summary>
    [Serializable]
    [Description("凭证设置表")]
    [Table("Pd_VourcherSetting")]

    public class PdEntityVourcherSetting : AggregateRoot
    {
        /// <summary>
        /// 集团Id
        /// </summary>
        [MaxLength(20)]
        public string GroupId { get; set; }

        /// <summary>
        /// 集团名称
        /// </summary>
        [MaxLength(100)]
        public string GroupName { get; set; }

        /// <summary>
        /// 单笔凭证金额
        /// </summary>
        public decimal SingleVourcherAmount { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        [MaxLength(50)]
        public string CompanyCode { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [MaxLength(100)]
        public string CompanyName { get; set; }
    }
}
